package com.kb.erp.domain;

import lombok.Data;

import java.util.List;

@Data
public class FormField {

    /**
     * _type : RadioButton
     * _id : fo6140e9e90a34444cadc9c832d330911c
     * label : 合同类型
     * choices : [{"_id":"fofe24445d3c4f4155867b5ae27a4a2275","value":"总合同"},{"_id":"fo2113fd350cc24de78d79c58c88cadd52","value":"分开合同"}]
     */

    private String _type;
    private String _id;
    private String label;
    private List<ChoicesBean> choices;


    @Data
    public static class ChoicesBean {
        /**
         * _id : fofe24445d3c4f4155867b5ae27a4a2275
         * value : 总合同
         */

        private String _id;
        private String value;

    }
}
